package com.meteor.service;

import com.meteor.entity.Building;
import com.meteor.entity.Community;
import com.meteor.framework.common.utils.PageResult;
import com.meteor.framework.mybatis.service.BaseService;
import com.meteor.query.BuildingQuery;
import com.meteor.query.CommunityQuery;
import com.meteor.query.OrgAndCommunityQuery;
import com.meteor.vo.BuildingVO;
import com.meteor.vo.CommunityVO;

import java.util.List;

/**
 * @author lynn
 * @date 2024/1/22
 */

public interface BuildingService extends BaseService<Building> {


    void save(BuildingVO vo);

    void update(BuildingVO vo);

    BuildingVO get(String id);

    List<BuildingVO> getList(BuildingQuery query);

    PageResult<BuildingVO> page(BuildingQuery query);

    void delete(String id);

    List<BuildingVO> communityBuilding(OrgAndCommunityQuery query);

}
